<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class WithdrawFund extends Model
{
    use HasDateTimeFormatter;

    protected $fillable = ['user_id', 'amount', 'status', 'fail_reason', 'actual_amount'];
    protected $table = 'withdraw_funds';

    public function user()
    {
        return $this->belongsTo(User::class);
    }

}
